home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 51 / Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso / -in_the_mag- / pdselect / awnp / awnp-docs / palette.doc < prev    next >
Text File  |  2000-02-16  |  1KB  |  79 lines

  1. palette gadget event
  2. -------------------------
  3.  
  4. 'gadget GID selected_color'
  5.  
  6. Palette gadget parameters.
  7. -------------------------
  8.  
  9. font=GID
  10.  
  11. This sets the font for the gadget. The GID points to an ALREADY defined text attribute.
  12.  
  13. close (c)
  14.  
  15.  This gadget will close the window when selected by the user.
  16.  
  17. readonly (ro)
  18.  
  19.  This gadget is read only.
  20.  
  21. disable=number (dis=)
  22.  
  23.  The gadget is disabled if number = 0 , enabled if number != 0. Defaults to enabled.
  24.  
  25. minnumber=number (minn=)
  26.  
  27.  The first color to display in this gadget. Defaults to 0.
  28.  
  29. maxnumber=number (maxn=)
  30.  
  31.  How many colors to display in this gadget. Defaults to 8.
  32.  
  33. selected=number (s=)
  34.  
  35.  Color selected when window is opened. Defaults to 0.
  36.  
  37. minwidth=number (minw=)
  38.  
  39.  Set the minimum width for this gadget
  40.  
  41. minheight=number (minh=)
  42.  
  43.  Set the minimum height for this gadget
  44.  
  45. weightedwidth=number (weiw=)
  46.  
  47.  Set the weighted width for this gadget
  48.  
  49. weightedheight=number (weih=)
  50.  
  51.  Set the weighted height for this gadget
  52.  
  53. nominalsize (noms)
  54.  
  55.  Set this gadget to its nominal size.
  56.  
  57. replace=GID
  58.  
  59.  Use this gadget to replace an existing gadget specified by GID.
  60.  
  61. Definition Reply
  62. -----------------
  63.  
  64.  When the gadget creation is successful the pipe replies with
  65.  
  66. 'ok GID'
  67.  
  68. Palette gadget modify parameters.
  69. -------------------------
  70.  
  71. disable=number (dis=)
  72.  
  73.  The gadget is disabled if number = 0 , enabled if number != 0.
  74.  
  75. selected=number (s=)
  76.  
  77.  Set the color selected in the gadget
  78.  
  79.